#ifndef LIFEMOVEMENT_H
#define LIFEMOVEMENT_H

#include "../../tools/Tools.h"
#include "../../tools/PacketWriter.h"

class PacketReader;

class LifeMovement {
private:
	int id;
	Position pos;
	int duration,newstate,type;
public:
	LifeMovement(int type,Position pos, int duration, int newstate );
	//virtual void serialize(PacketWriter pw);
	Position getPosition();
	int getType();
	int getDuration();
	int getNewstate();
};

#endif